<div class="titulo">
    <h3><?php echo $this->rowTipoServico->st_nome; ?></h3>
</div>
        <div class="accordion">
            <h3><a>Serviços (<?php echo count($this->rowServicos); ?>)</a></h3>
            <div>
                <table>
                    <thead>
                        <tr>
                            <th scope="col">Cliente</th>
                            <th scope="col">Valor</th>
                        </tr>
                    </thead>
                    <tbody>
                     <?php
                        $i = 0;
                        foreach ($this->rowServicos as $rowServico) :
                            $class = ($i++ % 2 == 0) ? 'class="cor"' : '';
                        ?>
                        <tr <?php echo $class; ?>>
                            <td><?php echo $this->aClientes[$rowServico->fk_cliente]; ?></td>
                            <td><?php echo $rowServico->vl_valor; ?></td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>